package org.example.strategy;

import org.example.strategy.improve.GoodBehavior;

/**
 * @author wangbin
 * @date 2024/4/20
 * @vesion 1.0
 */
public class WildDuck extends Duck{

    public WildDuck() {
        flyBehavior=new GoodBehavior();
    }

    @Override
    public void display() {
        System.out.println("野鸭");

    }


}
